<!-- Generated automatically from an XML file of the same name.
     Copyright: Stephen J. Sangwine and Nicolas Le Bihan, 2008-2011.
--><html><head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <title>vector_product :: Functions (Quaternion Toolbox Function Reference)
</title><link rel="stylesheet" href="qtfmstyle.css" type="text/css"></head><body><h1>Quaternion Function Reference</h1><h2>vector_product</h2>
<p>Vector or cross product of two pure quaternions</p>
<h2>Syntax</h2><p><tt>Y = vector_product(A, B)</tt></p>
<h2>Description</h2>
<p>
<tt>vector_product(A, B)</tt> returns the vector (or cross) product of the two
arguments, which must be pure quaternions.
</p>

<h2>Examples</h2>
The vector product of <tt>qi</tt> with <tt>qj</tt> gives <tt>qk</tt>:
<pre>
&gt;&gt; vector_product(qi, qj) == qk

ans = 1
</pre>

<h2>See Also</h2>QTFM function: <a href="cross.html">cross</a><br>MATLAB&reg; function: <a href="matlab:doc cross">cross</a><br>
<h4>&copy; 2008-2011 Stephen J. Sangwine and Nicolas Le Bihan</h4><p><a href="license.html">License terms.</a></p></body></html>